package com.liu.nb.controller;


import com.liu.nb.util.Result;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 权限和页面表 前端控制器
 * </p>
 *
 * @author liuziyi
 * @since 2021-08-31
 */
@RestController
@RequestMapping("/nb/page")
public class PageController extends BaseController{
    /*
    * 获得所有的系统功能菜单
    * */
    @RequestMapping("/getAll/menu")
    public Result getAll(){
        return Result.success(pageService.getAllPremAndPage());
    }
}
